package com.fzhucc.modules.elect.domain.dto;

import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import com.fzhucc.annotation.Query;

/**
* @website https://eladmin.vip
* @author yyg
* @date 2022-11-16
**/
@Data
public class ElectQueryCriteria {

    @ApiModelProperty("id(精确)")
    @Query
    private Integer id;

    @ApiModelProperty("标题(模糊)")
    @Query(type = Query.Type.INNER_LIKE)
    private String title;

    @ApiModelProperty("发文单位(模糊)")
    @Query(type = Query.Type.INNER_LIKE)
    private String releaseUnit;

    @ApiModelProperty("内容(模糊)")
    @Query(type = Query.Type.INNER_LIKE)
    private String content;

    @ApiModelProperty("地区组织机构区分  (模糊)")
    @Query(type = Query.Type.INNER_LIKE)
    private String orgArea;

    /*@ApiModelProperty("省市县数组(模糊)")
    @Query(type = Query.Type.INNER_LIKE)
    private String[] orgAreas;*/

    @ApiModelProperty("优选分类(模糊)")
    @Query(type = Query.Type.INNER_LIKE)
    private String classify;

    @ApiModelProperty("关键字(模糊)")
    @Query(type = Query.Type.INNER_LIKE)
    private String keyWord;

    @ApiModelProperty("创新点(模糊)")
    @Query(type = Query.Type.INNER_LIKE)
    private String cx;

    @ApiModelProperty("简介(模糊)")
    @Query(type = Query.Type.INNER_LIKE)
    private String intro;

    @ApiModelProperty("是否展示小程序(精确)")
    @Query
    private Integer isShow;

    @ApiModelProperty("是否首页展示(精确)")
    @Query
    private Integer isIndex;


    @ApiModelProperty("创建者user_id(精确)")
    @Query
    private Long createUserId;

    @ApiModelProperty("内容类型(精确)")
    @Query
    private String type;

    /*@ApiModelProperty("省市县(模糊)")
    @Query(type = Query.Type.INNER_LIKE)
    private String orgArea;*/
}